doctype
html
	head
		meta(charset="utf-8")
		title #{title}
		link(href="/css/admin.css",rel="stylesheet")
		link(href='//cdn.bootcss.com/webuploader/0.1.1/webuploader.css', rel='stylesheet')
	body.sub-body
		.pos-rlt.p-md
			span 首页
			em >
			span 编辑评价
		.p-md.m-top
			.panel.panel-default
				.panel-body
					.tab_t
						span.a.active 编辑评价
				.pane-body.atricle-form
					form(action="/admin/commentSave",method="post")
						input(type="hidden",name="_id",value="#{comment._id}")
						input(type="hidden",name="cid",value="#{cid}")
						.form-group.m-h-n.clearfix
							label.control-label 姓名：
							.col-sm-6
								input.form-control(type="text",name="name",value='#{comment.name}')
						.form-group.m-h-n.clearfix
							label.control-label 身份证：
							.col-sm-6
								input.form-control(name="id",value='#{comment.id}')
						.form-group.m-h-n.clearfix
							label.control-label 头像：
							.col-sm-9
								input#imgPath(type="hidden",name="avatar",value='#{comment.avatar}')
								#imgsrc.imgpath
									.item <img src="#{comment.avatar}"><span class="del"></span>
								#filePicker
						.form-group.m-h-n.clearfix
							label.control-label 评价日期：
							.col-sm-6
								input.form-control(name="addData",value='#{comment.addData}')
						.form-group.m-h-n.clearfix
							label.control-label 内容：
							.col-sm-10
								textarea.form-control(rows="5",name="content") #{comment.content}
						.form-group.m-h-n.clearfix
							label.control-label
							.col-sm-6
								.submit_type.t-l
									button.btn.btn-sm.btn-danger(type="submit") 提交

		script(src="http://cdn.bootcss.com/jquery/2.2.0/jquery.min.js",type="text/javascript")
		script(src='//cdn.bootcss.com/webuploader/0.1.1/webuploader.js')
		script(src="/js/adminBase.js",type="text/javascript")
		script(src='/js/h5webuploader.js')
		script.
			$(function () {
				$("#filePicker").uploads({
					fileNumLimit: 10,
					pick: {
						multiple: true
					}
				});
			})